package com.push.web.domain;

import com.push.common.core.domain.entity.SysUser;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.push.common.annotation.Excel;
import com.push.common.core.domain.BaseEntity;

/**
 * 我的收藏对象 biz_collection
 *
 * @author push
 * @date 2023-02-17
 */
public class BizCollection extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 索引ID */
    private Long id;

    /** 名字 */
    @Excel(name = "名字")
    private String altName;

    /** 文章ID */
    private String articleIds;

    /** UserID */
    private Long userId;

    /** 租户ID */
    private String tenantId;

    /** 用户 */
    private SysUser sysUser;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setAltName(String altName)
    {
        this.altName = altName;
    }

    public String getAltName()
    {
        return altName;
    }
    public void setArticleIds(String articleIds)
    {
        this.articleIds = articleIds;
    }

    public String getArticleIds()
    {
        return articleIds;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public void setTenantId(String tenantId)
    {
        this.tenantId = tenantId;
    }

    public String getTenantId()
    {
        return tenantId;
    }

    public SysUser getSysUser() {
        return sysUser;
    }

    public void setSysUser(SysUser sysUser) {
        this.sysUser = sysUser;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("altName", getAltName())
            .append("articleIds", getArticleIds())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("tenantId", getTenantId())
            .toString();
    }
}
